package com.hdoit.shared.workflow.logal.model;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hdoit.common.message.ModelBase;
@Entity
@Table(name="wf_workflowProcessModule")
public class WFProcessModule  extends ModelBase{

	private String	processId;
	
	private String	categoryId;
	
	private String	processName;
	
	private String	departmentId;
	
	private String	application;
	
	private int	isActive;
	
	private int	isAutoSave;
	
	private Date	limitDate;
	
	private String documentId;
	
	private int documentType;
	
	private String nameCodingRule;
	
	private String codeCodingRule;
	
	private int	deleteMark;
	
	private int	sortCode;
	
	private Date createDate;
	
	private String	createUserId;
	
	private String	createUserName;
	
	private Date	modifyDate;
	
	private String	modifyUserId;
	
	private String	modifyUserName;
	
	private String	comments;

	@Id
	@Column(length = 50,nullable=false)
	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	@Column(length = 50,nullable=false)
	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	@Column(length = 50)
	public String getProcessName() {
		return processName;
	}

	public void setProcessName(String processName) {
		this.processName = processName;
	}

	@Column(length = 50)
	public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	@Column(length = 50)
	public String getApplication() {
		return application;
	}

	public void setApplication(String application) {
		this.application = application;
	}

	public int getIsActive() {
		return isActive;
	}

	public void setIsActive(int isActive) {
		this.isActive = isActive;
	}

	public int getIsAutoSave() {
		return isAutoSave;
	}

	public void setIsAutoSave(int isAutoSave) {
		this.isAutoSave = isAutoSave;
	}

	public Date getLimitDate() {
		return limitDate;
	}

	public void setLimitDate(Date limitDate) {
		this.limitDate = limitDate;
	}

	@Column(length = 50)
	public String getDocumentId() {
		return documentId;
	}

	public void setDocumentId(String documentId) {
		this.documentId = documentId;
	}

	public int getDocumentType() {
		return documentType;
	}

	public void setDocumentType(int documentType) {
		this.documentType = documentType;
	}

	@Column(length = 100)
	public String getNameCodingRule() {
		return nameCodingRule;
	}

	public void setNameCodingRule(String nameCodingRule) {
		this.nameCodingRule = nameCodingRule;
	}

	@Column(length = 100)
	public String getCodeCodingRule() {
		return codeCodingRule;
	}

	public void setCodeCodingRule(String codeCodingRule) {
		this.codeCodingRule = codeCodingRule;
	}

	public int getDeleteMark() {
		return deleteMark;
	}

	public void setDeleteMark(int deleteMark) {
		this.deleteMark = deleteMark;
	}

	public int getSortCode() {
		return sortCode;
	}

	public void setSortCode(int sortCode) {
		this.sortCode = sortCode;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	@Column(length = 50)
	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	@Column(length = 50)
	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	@Column(length = 50)
	public String getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(String modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	@Column(length = 50)
	public String getModifyUserName() {
		return modifyUserName;
	}

	public void setModifyUserName(String modifyUserName) {
		this.modifyUserName = modifyUserName;
	}

	@Column(length = 5000)
	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}
	
}
